package com.umpay.dto.merAccess.req.bindcard;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;

public class EnterpriseBindCardReq extends CommonReq{
	
	/**
	 * 商户订单号
	 */
	@NotEmpty(message = "商户订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String order_id;
	
	/**
	 * 商户订单日期
	 */
	@NotEmpty(message = "商户订单日期不能为空")
	@Pattern(message = "商户订单日期格式不正确")
	private String mer_date;
	/**
	 * 联动用户号
	 */
	@NotEmpty(message = "联动用户号不能为空")
	@Pattern(message = "联动用户号格式不正确")
	private String user_id;
	
	/**
	 * 银行编号
	 */
	@NotEmpty(message = "银行编号不能为空")
	@Pattern(message = "银行编号格式不正确")
	private String gate_id;

	@NotEmpty(message = "企业银行账号不能为空")
	@Pattern(message="企业银行账号格式不正确")
	private String bank_account;
	/**
	 * 银行账户名称
	 */
	@NotEmpty(message = "银行名称不能为空")
	@Pattern(message = "银行名称格式不正确")
	private String bank_account_name;
	
	/**
	 * 开卡行所在省
	 */
	private String bank_prov_name;
	
	/**
	 * 开卡行所在市
	 */
	private String bank_area_name;
	
	/**
	 * 开卡支行名称
	 */
	@NotEmpty(message = "开户行支行全称不能为空")
	@Pattern(message = "开户行支行全称格式不正确")
	private String bank_branch_name;
	
	/**
	 * 服务器异步通知页面路径
	 */
//	@NotEmpty(message = "服务器异步通知页面路径不能为空")
	@Pattern(message = "服务器异步通知地址格式不正确")
	private String notify_url;
	
	/**
	 * 手机号码
	 */
	@Pattern(message = "手机号格式不正确")
	protected String mobile_id;//手机号码

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getMer_date() {
		return mer_date;
	}

	public void setMer_date(String mer_date) {
		this.mer_date = mer_date;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getGate_id() {
		return gate_id;
	}

	public void setGate_id(String gate_id) {
		this.gate_id = gate_id;
	}

	public String getBank_account() {
		return bank_account;
	}

	public void setBank_account(String bank_account) {
		this.bank_account = bank_account;
	}

	public String getBank_account_name() {
		return bank_account_name;
	}

	public void setBank_account_name(String bank_account_name) {
		this.bank_account_name = bank_account_name;
	}

	public String getBank_prov_name() {
		return bank_prov_name;
	}

	public void setBank_prov_name(String bank_prov_name) {
		this.bank_prov_name = bank_prov_name;
	}

	public String getBank_area_name() {
		return bank_area_name;
	}

	public void setBank_area_name(String bank_area_name) {
		this.bank_area_name = bank_area_name;
	}

	public String getBank_branch_name() {
		return bank_branch_name;
	}

	public void setBank_branch_name(String bank_branch_name) {
		this.bank_branch_name = bank_branch_name;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}
	
	public String getMobile_id() {
		return mobile_id;
	}

	public void setMobile_id(String mobile_id) {
		this.mobile_id = mobile_id;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("EnterpriseBindCardReq [order_id=");
		builder.append(order_id);
		builder.append(", mer_date=");
		builder.append(mer_date);
		builder.append(", user_id=");
		builder.append(user_id);
		builder.append(", bank_account=");
		builder.append(bank_account);
		builder.append(", gate_id=");
		builder.append(gate_id);
		builder.append(", bank_account_name=");
		builder.append(bank_account_name);
		builder.append(", bank_prov_name=");
		builder.append(bank_prov_name);
		builder.append(", bank_area_name=");
		builder.append(bank_area_name);
		builder.append(", bank_branch_name=");
		builder.append(bank_branch_name);
		builder.append(", notify_url=");
		builder.append(notify_url);
		builder.append(", mer_id=");
		builder.append(mer_id);
		builder.append(", version=");
		builder.append(version);
		builder.append(", accessName=");
		builder.append(accessName);
		builder.append(", accessType=");
		builder.append(accessType);
		builder.append(", depBankMerId=");
		builder.append(depBankMerId);
		builder.append(", mobile_id=");
		builder.append(mobile_id);
		builder.append("]");
		return builder.toString();
	}
	
	
}
